package top.zywork.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * RanksUserVO值对象类<br/>
 *
 * 创建于2020-05-19<br/>
 *
 * @author http://zywork.top 危锦辉
 * @version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@EqualsAndHashCode(callSuper = true)
public class RanksUserVO extends BaseVO {

    private static final long serialVersionUID = -9223372036005001625L;

    /**
	 * 队伍成员编号
	 */
	private Long id;
	/**
	 * 队伍编号
	 */
	@NotNull(message = "此项是必须项")
	private Long activityRanksId;
	/**
	 * 位置
	 */
	@NotBlank(message = "此项是必须项")
	@Size(min = 1, max = 20, message = "必须是1-20个字符")
	private String position;
	/**
	 * 用户编号
	 */
	private Long userId;
	/**
	 * 游戏ID
	 */
	@Size(min = 0, max = 20, message = "必须小于20个字符")
	private String gameId;
	/**
	 * 段位
	 */
	@Size(min = 0, max = 20, message = "必须小于20个字符")
	private String level;
	/**
	 * 性别
	 */
	private Byte gender;
	/**
	 * 版本号
	 */
	private Integer version;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 更新时间
	 */
	private Date updateTime;
	/**
	 * 是否激活
	 */
	private Byte isActive;
	
}